package com.domain.query.user;

import com.domain.query.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "查询用户列表请求数据")
public class UserQuery extends PageQuery {

    @Schema(description = "用户id", example = "1")
    private Integer userId;

    @Schema(description = "用户名", example = "张三")
    private String username;

    @Schema(description = "昵称", example = "小张三")
    private String nickname;
}
